<#if pg??>${pg.countHtml!}</#if>
<table class="list">
  <tr>
    <th width="4%">序号</th>
    <th width="8%">门店名称</th>
    <th width="8%">合同号</th>
    <th width="8%">会员姓名</th>
    <th width="8%">申请时间</th>
    <th width="12%">类型</th>
    <th width="7%">流程状态</th>
    <th width="4%">初审</th>
    <th width="4%">复审</th>
    <th width="4%">终审</th>
    <th width="7%">申请人</th>
    <th width="7%">提交附件</th>
    <th width="8%">提交时间</th>
    <th>操作</th>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td class="no">${c_index+1}</td>
    <td><@value type="shopName" key="${c.shopCode!}"/></td>
    <td>${c.contractCode!}</td>
    <td class="member"><a href="javascript:mbinfo('${c.memberCode!}');">${c.memberName!}</a></td>
    <td>${c.createTime!}</td>
    <td><@value type="workflowType" key="${c.typeId!}"/></td>
    <td><@value type="workflowStatus" key="${c.status!}"/></td>
    <td><@value type="workflowResult2" key="${c.procResult1!}"/></td>
    <td><@value type="workflowResult2" key="${c.procResult2!}"/></td>
    <td><@value type="workflowResult2" key="${c.procResult3!}"/></td>
    <td><@value type="userName" key="${c.createUser!}"/></td>
    <td><#if c.fileNum gt 0>已上传<#else>未上传</#if></td>
    <td>${c.submitTime!}</td>
    <td class="oper"><#if canEdit??><a class="edit" href="javascript:open('edit?id=${c.workflowId!}');">查看</a></#if><#if canPay?? && c.status=3 && (c.procResult3=1 || c.procResult3=-1) && (c.typeId='20' || c.typeId='22')><a class="edit" href="javascript:pay('${c.workflowId!}');">付款</a></#if></td>
  </tr>
  </#list></#if>
</table>
<#if pg??>${pg.pageHtml!}</#if>
